<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_元素显示</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            border: 5px solid #f00;
            display: block;
        }
        span{
            background-color: #ff0;
            width: 100px;
            height: 100px;
            display: inline;
            display: block;
        }
    </style>
</head>
<body>
    <div>我是div</div>
    <span>我是span</span>
</body>
</html>